package com.datam.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.datam.query.QueryCompanyZlDevice;
import com.datam.domain.CompanyZlDeviceDO;
@Mapper
public interface CompanyZlDeviceDAO {

	public CompanyZlDeviceDO selectCompanyZlDeviceById(@Param("id")Long id);

	public List< CompanyZlDeviceDO > selectCompanyZlDeviceList(QueryCompanyZlDevice queryCompanyZlDevice);

	public Integer countCompanyZlDeviceList(QueryCompanyZlDevice queryCompanyZlDevice);

	public int insertCompanyZlDevice(CompanyZlDeviceDO companyZlDeviceDO);

	public int updateCompanyZlDeviceById(CompanyZlDeviceDO companyZlDeviceDO);
	
	public List<String> selectDistinctList(QueryCompanyZlDevice queryCompanyZlDevice);

	public int deleteById(@Param("id")long id);

}

